/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xyrelationship.param;
import java.time.LocalDateTime;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;

/**
* 族员关系参数类
 *
 * @author yanwei
 * @date 2023-05-06 14:15:26
*/
@Data
@ApiModel("族员关系 查询条件")
public class XyRelationshipParam extends BaseParam {

    /**
     * 
     */
    @NotNull(message = "不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    @ApiModelProperty("")
    private String id;

    /**
     * 唯一编码
     */
    @NotBlank(message = "唯一编码不能为空，请检查codeUni参数", groups = {add.class, edit.class})
    private String codeUni;

    /**
     * 名字
     */
    @NotBlank(message = "名字不能为空，请检查relationship参数", groups = {add.class, edit.class})
    private String relationship;

}
